package com.example.demo.entity;

public class Teacher {

    private int tid;

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    private String tname;
    private String taccount;
    private String tpwd;
    private String tacademy;
    public String getTaccount() {
        return taccount;
    }

    public void setTaccount(String taccount) {
        this.taccount = taccount;
    }
    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }
    public String getTpwd() {
        return tpwd;
    }

    public void setTpwd(String tpwd) {
        this.tpwd = tpwd;
    }

    public String getTacademy() {
        return tacademy;
    }

    public void setTacademy(String tacademy) {
        this.tacademy = tacademy;
    }

    @Override
    public String toString() {
        return "Teacher{" + "tid='" + tid + '\'' +
                ", tname='" + tname + '\'' +
        ", taccout=" + taccount + '\'' +
            ", tpwd='" +tpwd+'\'' +
            ", tacademy='" + tacademy+
            '}';
}


}
